<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<meta http-equiv="X-UA-Compatible" content="IE=edge">
	<meta name="viewport" content="width=device-width, initial-scale=1.0">
	<title>Document</title>
	<style>
		*{
			margin: 0;
			padding: 0;
			list-style: none;
		}
		ul{
			width: 100px;
			height: 100px;
			border: 1px solid royalblue;
			margin: 50px auto;
		}
		ul li{
			width: 100px;
			height: 100px;
			position: absolute;
			/* 设置形变中心点  */
			transform-origin: left top;
		}
		ul li:first-child{
			background-color: red;
			transform: rotate(30deg);
		}
		ul li:nth-child(2){
			background-color: blue;
			transform: rotate(45deg);
		}
		ul li:last-child{
			background-color: yellow;
			transform: rotate(60deg);
		}
	</style>
</head>
<body>
	<ul>
		<li></li>
		<li></li>
		<li></li>
	</ul>
</body>
</html>